<template>
 <!-- 违规提示组件 -->
  <div class="illegalTips-box">
     <div class="illegalTips-middle-box">
         <img src="../assets/images/wg-tip.png" >
         <p class="middle-text">直播涉嫌违规,已停止播放</p>
         <div class="botton-btn" @click="closeLive">
            退出房间
         </div>
     </div>
  </div>
</template>

<script>
   export default {
     data(){
       return{

       }
     },
     methods:{
       closeLive(){
         this.$router.go(-1)
         this.$store.dispatch("globalMask", {isShow:false,bgColor:''});
       }
     }
   }
</script>

<style>
  .botton-btn{
    width: 393px;
    height: 75px;
    background: linear-gradient(180deg, #FE807F 0%, #FF3338 100%);
    border-radius: 10px;
    line-height: 75px;
    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: 500;
    color: #FFFFFF;
  }
  .middle-text{
     font-size: 36px;
     font-weight: 500;
     color: #333333;
     line-height: 50px;
     margin: 43px 0  81px 0;
  }
  .illegalTips-box{
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10506;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .illegalTips-middle-box{
    width: 580px;
    height: 580px;
    background: #FFFFFF;
    border-radius: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .illegalTips-middle-box img{
    width: 230px;
    height: 200px;
  }
</style>
